package com.njwb.day05;

public class Test06 {
    public static void main(String[] args) {
        new F().fn1();
    }
}

class F{
    static int j=30;
    int i=20;
    public void fn1(){
        int i=10;
        System.out.println("fn1 start");
        //局部代码块：定义在某一个函数方法中
        {
            System.out.println(" {}... ");
            int z=222;
            System.out.println(z);
            System.out.println(i);
            System.out.println(this.i);
            System.out.println(F.j);
        }
        System.out.println("fn1 end");
    }

}
